{include file="Public:header" /}
		<div class="bar bar-nav">
			<h1 class="title">订单详情
                            <!--{$activity['activity_name']}-->
                        </h1>
			<i class="icon icon-left" onclick="window.history.go(-1);"></i>
		</div>
		<div class="content">
			<div class="row activity_banner">
				<div class="col-100">
					<img src="__ROOT__{$activity['activity_img']}">
				</div>
				<div class="col-100 activity_top_title">
					<div class="content-padded">
						<h3>{$activity['activity_name']}</h3>
						<p>
							<span><i class="iconfont icon-huiyuan1"></i>[ {$activity['sponsor']} ]</span>
							<span class="pull-right"><i class="iconfont icon-browse"></i>{$activity['browse_number']}</span>
							<span class="pull-right"><i class="iconfont icon-fenxiang"></i>{$activity['share_number']}</span>
						</p>
					</div>
				</div>
			</div>

			<div class="row activity_list">
				<div class="col-100">
					<div class="list-block">
						<ul>
							<li class="item-content">
								<div class="item-media"><i class="iconfont icon-history"></i></div>
								<div class="item-inner">
									<div class="item-title">{$activity['start_time']|date="Y-m-d H:i:s",###} 至 {$activity['end_time']|date="Y-m-d H:i:s",###}</div>
								</div>
							</li>
							<li class="item-content">
								<div class="item-media"><i class="iconfont icon-map"></i></div>
								<div class="item-inner">
									<div class="item-title">{$activity['detail_address']}</div>
								</div>
							</li>
							<li class="item-content">
								<div class="item-media"><i class="iconfont icon-account"></i></div>
								<div class="item-inner">
									<div class="item-title">已报名{$activity['signup_number']}人 / 不限制名额</div>
								</div>
							</li>
							<li class="item-content">
								<div class="item-media"><i class="iconfont icon-demo22"></i></div>
								<div class="item-inner">
									<div class="item-title">
										<font class="button-danger">{$activity['price']}/人</font>
									</div>
								</div>
							</li>
							<li class="item-content">
								<div class="item-media"><i class="iconfont icon-phone"></i></div>
								<div class="item-inner">
									<div class="item-title">{$activity['contact_mobile']}</div>
								</div>
							</li>
						</ul>
					</div>
				</div>
			</div>
			<div class="row activity_txt"><!-- style="margin-bottom: 70px;" -->
				<div class="col-100">
					<div class="content-padded" style="max-height:60px;">
						{$activity['describe']|htmlspecialchars_decode}
					</div>
					<div class="activity_btn text-center">
						<span>展开更多详情<i class="iconfont icon-moreunfold"></i></span>
					</div>
				</div>
			</div>
			
			<div class="row sign">
				<div class="col-100">
					<div class="content-padded">
						<div class="sign_title content-block-title">我的报名信息</div>
					</div>
				</div>
			</div>
			<div class="list-block" style="margin-top:0px;margin-bottom: 70px;font-size: .5rem;">
			<ul>
						      <!-- Text inputs -->
						      <li>
						        <div class="item-content">
						          <div class="item-media"><i class="icon icon-form-name"></i></div>
						          <div class="item-inner">
						            <div class="item-title label">姓名</div>
						            <div class="item-input">
						              <input type="text" style="font-size: .5rem;" name="name" readonly="readonly" value="{$activity['name']}" />
						            </div>
						          </div>
						        </div>
						      </li>
						      <li>
						        <div class="item-content">
						          <div class="item-media"><i class="icon icon-form-name"></i></div>
						          <div class="item-inner">
						            <div class="item-title label">手机</div>
						            <div class="item-input">
						              <input type="text" style="font-size: .5rem;" name="mobile" readonly="readonly" value="{$activity['mobile']}" />
						            </div>
						          </div>
						        </div>
						      </li>
						      <li>
						        <div class="item-content">
						          <div class="item-media"><i class="icon icon-form-name"></i></div>
						          <div class="item-inner">
						            <div class="item-title label">邮箱</div>
						            <div class="item-input">
						              <input type="text" style="font-size: .5rem;" name="email" readonly="readonly" value="{$activity['email']}" />
						            </div>
						          </div>
						        </div>
						      </li>
						    </ul>
						    </div>
			
</div>


<nav class="bar activity_nav bar-tab">
{if condition="$activity['order_status'] eq 4"}
	<button type="submit" class="tab-item on" style="width: 100%;padding: 0;border: 0;float: left;">
		<span class="tab-label">已取消</span>
	</button>
{elseif condition="$activity['order_status'] eq 3"/}
	<button type="submit" class="tab-item on" style="width: 100%;padding: 0;border: 0;float: left;">
		<span class="tab-label">已完成</span>
	</button>
{elseif condition="$activity['order_status'] eq 2"/}
	<button type="submit" class="tab-item on" style="width: 100%;padding: 0;border: 0;float: left;">
		<span class="tab-label">待参与</span>
	</button>
{elseif condition="$activity['order_status'] eq 1"/}
	<form action="{:U('Wxpay/js_api_call')}" method="post">
	<input type="hidden" name="order_sn" value="{$activity['order_sn']}" />
	<button type="submit" class="tab-item on" style="width: 100%;padding: 0;border: 0;float: left;">
		<span class="tab-label">去付款</span>
	</button>
	</form>
{/if}
</nav>

{include file="Public:footer" /}
